module IfItWerent4AR
  module Search
    def where(attrs = {})
      IfItWerent4AR::FileOp::find_in_storage_by(attrs, self)
    end

    def find(id)
      object = self.new(id: id)
      IfItWerent4AR::FileOp::find_in_storage(object)
    end
  end
end
